﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

using Hang.Blog.DomainPlus.EntityPlus;

namespace Hang.Blog.Entities {
    public class Article : FullAuditedAggregateRootPlus<Guid> {

        public Guid CategoryId { get; set; }


        [Required]
        [StringLength(200)]
        public string Title { get; set; }

        [Required]
        [Column(TypeName ="text")]
        public string Content { get; set; }




    }
}
